package com.avic.modules.log.service.dto;

import com.avic.annotation.Query;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

@Data
public class LogQueryCriteria {

    /** 用户查询 */
    @Query(blurry = "username")
    private String blurry;

    // 部门
    @Query(propName = "deptName", type = Query.Type.INNER_LIKE)
    private String deptId;

    // ip地址
    @Query(propName = "requestIp", type = Query.Type.INNER_LIKE)
    private String requestIp;

    // 动作
    @Query(propName = "logType", type = Query.Type.INNER_LIKE)
    private String logType;

    /** 操作时间 */
    @Query(propName = "createTime", type = Query.Type.BETWEEN)
    private List<Timestamp> createTime;
}
